package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 快递表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_express")
@ApiModel(value = "XhExpress对象", description = "快递表")
public class XhExpress implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("寄件人姓名")
    private String senderName;

    @ApiModelProperty("寄件人手机号码")
    private String mobile;

    @ApiModelProperty("快递单号")
    private String expressNo;

    @ApiModelProperty("快递状态 待定 根据快递接口来")
    private Integer expressStatus;

    @ApiModelProperty("快递编码 参考	https://market.aliyun.com/products/57126001/cmapi021863.html?spm=5176.730005.productlist.d_cmapi021863.2a833524NVULnR&innerSource=search_%E5%BF%AB%E9%80%92#sku=yuncode1586300000")
    private String expressType;

    @ApiModelProperty("快递名称")
    private String expressName;

    @ApiModelProperty("0 快递收件(揽件) 1  在途中2 正在派件 3 已签收 4 派送失败 5 疑难件 6 退件签收")
    private String expressDeliveryStatus;

    @ApiModelProperty("快递状态是否完成 0未完成 1完成")
    private Integer expressFinish;

    @ApiModelProperty("快递图标")
    private String logo;

    @ApiModelProperty("完成投递时间 取快递接口返回信息")
    private Date interfaceTime;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date modifyTime;

    @ApiModelProperty("是否删除：0.否(默认)1.是")
    @TableLogic(value = "0" ,delval = "1")
    private Integer isDeleted;

}
